﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class HangHoa
    {
        string _MAHANG;

        public string MAHANG
        {
            get { return _MAHANG; }
            set { _MAHANG = value; }
        }
        string _TENHANG;

        public string TENHANG
        {
            get { return _TENHANG; }
            set { _TENHANG = value; }
        }
        int _SOLUONGTRUNGBAY;

        public int SOLUONGTRUNGBAY
        {
            get { return _SOLUONGTRUNGBAY; }
            set { _SOLUONGTRUNGBAY = value; }
        }
        int _SOLUONGTRONGKHO;

        public int SOLUONGTRONGKHO
        {
            get { return _SOLUONGTRONGKHO; }
            set { _SOLUONGTRONGKHO = value; }
        }
        int _SOLUONGTON;

        public int SOLUONGTON
        {
            get { return _SOLUONGTON; }
            set { _SOLUONGTON = value; }
        }
        string _TACGIA;

        public string TACGIA
        {
            get { return _TACGIA; }
            set { _TACGIA = value; }
        }
        int _GIATHANH;

        public int GIATHANH
        {
            get { return _GIATHANH; }
            set { _GIATHANH = value; }
        }
        string _MANXB;

        public string MANXB
        {
            get { return _MANXB; }
            set { _MANXB = value; }
        }
        string _MALOAI;

        public string MALOAI
        {
            get { return _MALOAI; }
            set { _MALOAI = value; }
        }
        string _MANSX;

        public string MANSX
        {
            get { return _MANSX; }
            set { _MANSX = value; }
        }

        public HangHoa() { }

        public HangHoa(string mahang, string tenhang, int soluongtrungbay, int soluongtrongkho, int soluongton,string tacgia, int giathanh, string manxb, string maloai, string mansx)
        {
            MAHANG = mahang;
            TENHANG = tenhang;
            SOLUONGTRUNGBAY = soluongtrungbay;
            SOLUONGTRONGKHO = soluongtrongkho;
            SOLUONGTON = soluongton;
            TACGIA = tacgia;
            GIATHANH = giathanh;
            MANXB = manxb;
            MALOAI = maloai;
            MANSX = mansx;
        }
    }
}
